<template>
    <div >
      <!--头部-->
      <Nav2 :title="title"></Nav2>



      <div class="top-img">
        <img src="../../../static/bmqd/BMQD-4.png" alt="">
      </div>
      <div class="wrap">
        <p>该品牌成立于1924年，是日本零食十强之一。制作的曲奇和糕点系列，品质远胜于欧洲传统西点，做工研究、健康是Bourbon一贯的严谨作风，其北日本系列礼盒 更是夺得了销售冠军，相当受欢迎。</p>

        <div class="milk-img">
          <div class="milk-info" v-for="item in info">
            <div class="mf-top">
              <img :src="item.url" alt="">
            </div>
            <div class="mf-bottom">
              <h3>{{item.tit}}</h3>
              <span>{{item.price}}</span>
              <button class="btn" @click="buy()">立即购买</button>
            </div>
          </div>
        </div>


      </div>



    </div>
</template>

<script>
  import Nav2 from './Nav2'
    export default {
        name: "Milk",
      data(){
          return{
            title:'奶粉',
            info:[
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'},
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'},
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'},
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'},
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'},
              {url:require('../../../static/bmqd/BMQD-5.png'),tit:'BOURBON布尔本hello kitty黄油曲奇礼盒54枚',price:'¥12.90'}
            ]
          }
      },
      methods:{
        goback(){
          window.history.go(-1);
        }
      },
      components:{
          Nav2
      }
    }
</script>

<style scoped>

  .top{
    width: 69rem;
    height: 3rem;
    line-height: 3rem;
    padding: 3.5rem 1.5rem;
    background: #e53e42;
    display: flex;
    justify-content: space-between;
  }
  .top span{
    font-size: 3.6rem;
    color: #fff;
  }
  .top img{
    width: 3rem;
    height: 3rem;
  }
  .top-img{
    width: 72rem;
    height: 40rem;
  }
  .top-img img{
    width: 100%;
    height: 100%;
  }

  .wrap{
    padding:2rem 2rem 0;
    background: #e2f6fe;
  }
  .wrap p{
    font-size: 2.8rem;
    color: #4d4d4d;
    margin-bottom: 6rem;
  }
  .milk-img{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .milk-info{
    width: 33rem;
    height: 44rem;
    border: 1px solid #cccccc;
    background: #fff;
    margin-bottom: 1rem;
  }
  .mf-top{
    width: 23rem;
    height: 22rem;
    padding:2rem 5rem;
    border-bottom: 1px solid #cccccc;
  }
  .mf-top img{
    width: 100%;
    height: 100%;
  }
  .mf-bottom{
    padding: 1rem 2rem 1rem;
    text-align: center;
  }
  .mf-bottom h3{
    text-align: left;
    font-size: 2.2rem;
    color: #4d4d4d;
  }
  .mf-bottom span{
    display: block;
    color: #e53e42;
    font-size: 2.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .btn {
    width: 22rem;
    height: 3rem;
    border-radius: 1.5rem;
    background:#e53e42;
    color: #fff;
    font-size: 2.4rem;
  }
</style>
